package com.wdj.service.service.impl;

import com.wdj.service.service.DemoService;

import javax.jws.WebService;
import java.util.Date;

@WebService(serviceName = "DemoService",
        targetNamespace = "http://service.wdj.com/",
        endpointInterface = "com.wdj.service.service.DemoService"
)
public class DemoServiceImpl implements DemoService {
    @Override
    public String sayHello(String user) {
        return user + ",祝贺你！成功调用了一个webService服务";
    }
}
